package org.coone.veteran.basic.jvm;

import java.util.ArrayList;
import java.util.List;

public class JvmMemDemo {

	private static List<String> methodList;
	
	public static void main(String[] args) throws InterruptedException {
		methodList = new ArrayList<String>();
		
		int index = 0;
		while(true) {
			String sss = "test" + (++index);
			System.out.println(sss);
			methodList.add(sss);
			Thread.sleep(1000);
		}
	}
}
